package com.sc.service.member;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sc.dal.mapper.member.RegionMapper;

@Service
public class RegionService {
	@Autowired
	private RegionMapper regionMapper;
	public String selectByName(String regionName,String parentId){
		return regionMapper.selectByName(regionName,parentId).getRegionCode();
	}
}
